home *** CD-ROM | disk | FTP | other *** search
- Path: erich.triumf.ca!bennett
- From: bennett@erich.triumf.ca (P.Bennett)
- Newsgroups: comp.lang.c
- Subject: Re: Help!
- Date: 26 Jan 1996 07:57 PST
- Organization: TRIUMF: Tri-University Meson Facility
- Distribution: world
- Message-ID: <26JAN199607573638@erich.triumf.ca>
- References: <4ea5p4$j0s@ratree.psu.ac.th>
- NNTP-Posting-Host: erich.triumf.ca
- News-Software: VAX/VMS VNEWS 1.50
-
- In article <4ea5p4$j0s@ratree.psu.ac.th>, s3610165@maliwan.psu.ac.th (Sanon CHAOCHAIYAPORN) writes...
- >Dear all
- >
- > There is a file, hi.bat, in my 'h:\data' directory and I try to
- >run it by C program but it fail. Please, advice to me?
-
- >chdir("h:\data");
-
- Remember that in C strings, '\' indicates the next char has special meaning, as
- in '\n' == newline. To acutally put a '\' in a string, you need to use two of
- them. Change the above line to:
- chdir("h:\\data");
-
- Peter Bennett VE7CEI | Vessels shall be deemed to be in sight
- Internet: bennett@triumf.ca | of one another only when one can be
- Packet: ve7cei@ve7kit.#vanc.bc.ca | observed visually from the other
- TRIUMF, Vancouver, B.C., Canada | ColRegs 3(k)
- GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
-
-
-
-
-